package common;

import java.awt.*;
import java.util.*;

/**
 * A simple graph with round nodes and straight edges.
 */
public class SimpleGraph extends Graph {
	public Node[] getNodePrototypes() {
		Node[] nodeTypes = { new CircleNode(Color.BLACK, 30),
				new CircleNode(Color.WHITE) };
		return nodeTypes;
	}

	public Edge[] getEdgePrototypes() {
		Edge[] edgeTypes = { new LineEdge(), new ArcEdge()};
		return edgeTypes;
	}
}
